package com.cr.business.domain;

import com.cr.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 生产人信息对象 tb_producer_info
 * 
 * @author tang
 * @date 2025-08-19
 */
public class TbProducerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 生产人ID */
    private String producerId;

    /** 生产人姓名 */
    private String producerName;

    /** 生产人手机号码 */
    private String producerPhone;

    /** 签名图片 */
    private String signImg;

    /** 启用状态（0-正常，1-停用） */
    private String status;

    /** 是否默认（0-否，1-是） */
    private String isDefault;

    /** 关联用户ID */
    private String userId;

    /** 删除标志（0-存在，2-删除） */
    private String delFlag;

    public void setProducerId(String producerId) 
    {
        this.producerId = producerId;
    }

    public String getProducerId() 
    {
        return producerId;
    }

    public void setProducerName(String producerName) 
    {
        this.producerName = producerName;
    }

    public String getProducerName() 
    {
        return producerName;
    }

    public void setProducerPhone(String producerPhone) 
    {
        this.producerPhone = producerPhone;
    }

    public String getProducerPhone() 
    {
        return producerPhone;
    }

    public void setSignImg(String signImg) 
    {
        this.signImg = signImg;
    }

    public String getSignImg() 
    {
        return signImg;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("producerId", getProducerId())
            .append("producerName", getProducerName())
            .append("producerPhone", getProducerPhone())
            .append("signImg", getSignImg())
            .append("status", getStatus())
            .append("isDefault", getIsDefault())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
